package org.locate.server;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

public class FoursquareForm {

	private String geolat;	

	private String geolong;
	
	private String pinCode;
	
	private String token;
	
	private String secretToken;

	private List<String>userSearches = new ArrayList<String>();
	
    private String venueName;
    
    private String shout;
	
    
	/**
	 * @return the venueName
	 */
	public String getVenueName() {
		return venueName;
	}



	/**
	 * @param venueName the venueName to set
	 */
	public void setVenueName(String venueName) {
		this.venueName = venueName;
	}



	/**
	 * @return the shout
	 */
	public String getShout() {
		return shout;
	}



	/**
	 * @param shout the shout to set
	 */
	public void setShout(String shout) {
		this.shout = shout;
	}



	public void setUserSearches(String searchWords)
	{
		StringTokenizer stringTokenizer = new StringTokenizer(searchWords,",");
		while (stringTokenizer.hasMoreElements())
		{
			userSearches.add(stringTokenizer.nextToken());
		}
	}
	
	
	
	/**
	 * @return the userSearches
	 */
	public List<String> getUserSearches() {
		return userSearches;
	}

	/**
	 * @param userSearches the userSearches to set
	 */
	public void setUserSearches(List<String> userSearches) {
		this.userSearches = userSearches;
	}

	/**
	 * @return the pinCode
	 */
	public String getPinCode() {
		return pinCode;
	}

	/**
	 * @param pinCode the pinCode to set
	 */
	public void setPinCode(String pinCode) {
		this.pinCode = pinCode;
	}

	/**
	 * @return the token
	 */
	public String getToken() {
		return token;
	}

	/**
	 * @param token the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}

	
	/**
	 * @return the secretToken
	 */
	public String getSecretToken() {
		return secretToken;
	}

	/**
	 * @param secretToken the secretToken to set
	 */
	public void setSecretToken(String secretToken) {
		this.secretToken = secretToken;
	}

	/**
	 * @return the geolat
	 */
	public String getGeolat() {
		return geolat;
	}

	/**
	 * @param geolat
	 *            the geolat to set
	 */
	public void setGeolat(String geolat) {
		this.geolat = geolat;
	}

	/**
	 * @return the geolong
	 */
	public String getGeolong() {
		return geolong;
	}

	/**
	 * @param geolong
	 *            the geolong to set
	 */
	public void setGeolong(String geolong) {
		this.geolong = geolong;
	}

}
